﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using UnityEngine.SceneManagement;

public class Button : MonoBehaviour
{
    public Transform player;

    void Update()
    {
        if (player == null)
        {
            transform.DOLocalMoveY(0,0.2F);               
        }
    }


    public void Again()
    {
        SceneManager.LoadScene(0);
    }
}
